package com.kws.merchant.domain;


import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 两票-工作票-成员(OperationTicketMember)表实体类
 *
 * @author yxy
 * @since 2024-12-20 16:30:06
 */
@Data
@ApiModel("两票-工作票-成员")
@TableName(value = "tb_operation_ticket_member")
public class OperationTicketMember extends Model<OperationTicketMember> implements Serializable {
    private static final long serialVersionUID = -26935962403454276L;

    @TableId(type = IdType.AUTO)
    @ApiModelProperty("$column.comment")
    private Long id;

    @ApiModelProperty("两票id")
    private Long ticketId;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("用户名称")
    @TableField(exist = false)
    private String userName;

    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GTM+8")
    @ApiModelProperty("$column.comment")
    private Date createTime;
}
